package com.hspedu.homework.homework14;

/**
 * @Author Stringzhua
 * @Date 2024/3/3 21:18
 * description:子类
 */
public class C extends B{
    public C(){
        this("hello");
        System.out.println("我是C类的无参构造器");
    }
    public C(String name){
        System.out.println("我是C类的有参构造~");
    }
}
